package com.hst.capacity.domain.model.request.vehicle;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class VehicleAddParam {

    /**
     * 司机模块车辆保存入参
     */
//    @NotEmpty(message = "车辆ID[idVehicle]不能为空,传入时为修改")
    private String idVehicle;
    @NotEmpty(message = "运营商ID[idFranchisee]不能为空")
    private String idFranchisee;
//    @NotEmpty(message = "所属城市[regionCode]不能为空")
    private String regionCode;
    @NotEmpty(message = "车牌号[plateNumber]不能为空")
    private String plateNumber;
    @NotEmpty(message = "车辆厂牌[brand]不能为空")
    private String brand;
//    @NotEmpty(message = "车辆系列[carSeries]不能为空")
    private String carSeries;//没有字段
//    @NotEmpty(message = "车辆型号[model]不能为空")
    private String model;
    @NotEmpty(message = "车辆颜色[color]不能为空")
    private String color;
    @NotNull(message = "载客量[passengerCapacity]不能为空")
    private int passengerCapacity;
    @NotEmpty(message = "能源类型[fuel]不能为空")
    private String fuel;
    @NotEmpty(message = "车辆注册日期[registerDate]不能为空")
    private String registerDate;
//    @NotEmpty(message = "车辆类型[type]不能为空")
    private int idVehicleType;
//    @NotEmpty(message = "车牌颜色[plateColor]不能为空")
    private String plateColor;
//    @NotEmpty(message = "发动机号[engine]不能为空")
    private String engine;
//    @NotEmpty(message = "车辆识别号VIN[vin]不能为空")
    private String vin;
//    @NotEmpty(message = "车辆使用性质[commercialType]不能为空")
    private int commercialType;
//    @NotEmpty(message = "行驶证发证日期[vehicleLicenseDate]不能为空")
    private String issueDate;
//    @NotEmpty(message = "绑定司机ID[idDriver]不能为空")
    private String idDriver;
    //限行日期
    private int limitDay;
    //购买日期 格式：yyyy-MM-dd
//    @NotEmpty(message = "购买日期[buyDate]不能为空")
    private String buyDate;
    //行驶里程
    private int tripDistance;
    //指派员工
    private String employee;
    //车辆行驶证号码
    private String vehicleLicenseNo;
    //车辆照片
    private String vehiclePhoto;
    //行驶证主页
    private String vehicleLicense;
    //行驶证副页
    private String vehicleLicenseSub;

    /**
     * 车辆模块车辆保存额外入参
     */


}
